package me.hl.variable;

import org.junit.Test;

/**
 * Created by Planck on 2016/2/14.
 */
public class VariableDeme {

    @Test
    public void finalDemo() {
        String a = "hello2";
        final String b = "hello";
        String d = "hello";
        String c = b + 2;
        String e = d + 2;
        System.out.println(c + "," + (a == c));
        System.out.println(e + "," + (a == e));
    }
}
